package com.contactmgr.logObjects;

import java.io.Serializable;
import java.util.Date;

public class Sms implements Serializable {
	private static final long serialVersionUID = 6614973207768449898L;

	public enum TYPE {
		RECEIVED, SENT
	};

	private TYPE smsType;
	private String date;
	private String content;
	private String fromTo;
	private String person;

	public TYPE getSmsType() {
		return smsType;
	}

	public void setSmsType(TYPE smsType) {
		this.smsType = smsType;
	}

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getPerson() {
		return person;
	}

	public void setPerson(String person) {
		this.person = person;
	}

	public String getFromTo() {
		return fromTo;
	}

	public void setFromTo(String fromTo) {
		this.fromTo = fromTo;
	}

	@Override
	public String toString() {
		return "Sms : \nsmsType=" + smsType + "\ndate=" + date + "\ncontent=" + content + "\nfromTo=" + fromTo + "\nperson=" + person;
	}


}
